import Vue from 'vue'
import Router from 'vue-router'
import IndexPage from '@/pages/IndexPage'
import Gykt from '@/pages/Gykt'
import Xwzx from '@/pages/Xwzx'
import Hyyy from '@/pages/Hyyy'
import Cpzx from '@/pages/Cpzx'
import Jdal from '@/pages/Jdal'
import Fwzc from '@/pages/Fwzc'
import CpzxDetail from '@/pages/CpzxDetail'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'IndexPage',
      component: IndexPage
    },
    {
      path: '/index',
      name: 'IndexPage',
      component: IndexPage
    },
    {
      path: '/gykt',
      name: 'Gykt',
      component: Gykt
    },
    {
      path: '/xwzx',
      name: 'Xwzx',
      component: Xwzx
    },
    {
      path: '/hyyy',
      name: 'Hyyy',
      component: Hyyy
    },
    {
      path: '/cpzx',
      name: 'Cpzx',
      component: Cpzx
    },
    {
      path: '/jdal',
      name: 'Jdal',
      component: Jdal
    },
    {
      path: '/fwzc',
      name: 'Fwzc',
      component: Fwzc
    },
    {
      path: '/cpzxdetail',
      name: 'CpzxDetail',
      component: CpzxDetail
    }
  ]
})
